package com.company.beauty.common.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * <p>description</p>
 *
 * @author Allen
 * @date 2022/12/13 16:32
 */
@Data
@Component
@ConfigurationProperties(prefix = "ip2region.config")
@RefreshScope
public class Ip2RegionProperties {

    /**
     * db url
     */
    private String dbUrl = "https://mfyg-file-prod.oss-cn-shanghai.aliyuncs.com/db/ip2region.db";

}
